﻿<!DOCTYPE html>
<html>
<head>
	<title>用户表</title>
</head>
<body style="font-family: 楷体">
  <include file="Public/head.html" /> 
  <h1 style="text-align: center; font-weight: bolder;">用户信息维护</h1>
<form action="{:U('admin.php/user/search')}" method="post" class="form-horizontal" enctype="multipart/form-data">  
  <table class="table">
    <tr>
      <th><input type="text" name="search_key" class="form-control"></input></th>
      <th><input type="submit" class="btn btn-primary" value="搜索"></input></th>
      <th><p style="text-align:right; font-size: 20px;"><a href="form.html">添加新用户</a></p></th>
    </tr>
  </table>
</form>
	<table border="1">
		<tr>
  		<th>头像</th>
  		<th>用户名</th>
  		<th>真实姓名</th>
  		<th>邮箱</th>
  		<th>电话</th>
  		<th>审核信息</th>
  		<th>明星作者</th>
  		<th>首页推荐</th>
  		<th>操作</th>
  	</tr>
  	<volist name="list" id="vo">
     <tr>
      <td><img src="__PUBLIC__/Uploads/{$vo.zhr_photo}" width="100px"></td>
	    <td>{$vo.zhr_username}</td>
	    <td>{$vo.zhr_realname}</td>
	    <td>{$vo.zhr_email}</td>
	    <td>{$vo.zhr_tele}</td>
	    <td>{$vo.zhr_veryfyinfo}</td>
	    <td>{$vo.zhr_isstar}</td>
	    <td>{$vo.zhr_isfirst}</td>
	    <td>
          <!-- 传参 -->
          <a href="{:U('admin.php/user/view',array('id'=>$vo['zhr_id']))}">查看</a><br>   
          <a href="{:U('admin.php/user/mod',array('id'=>$vo['zhr_id']))}">修改</a><br>
          <a href="javascript:if(confirm('确认删除?')) location='{:U('admin.php/user/delete',array('id'=>$vo['zhr_id']))}'">删除</a><br>
	        <a href='#'>取消明星作者</a><br><a href='#'>设置首页推荐</a><br>
	        <a href='#'>禁用</a><br>
	    </td>
     </tr>
    </volist>
   </table>
   <div class="text-center">{$page}</div>
   <include file="Public/footer.html" /> // 包含尾部模版foter
</body>
</html>